<?php
/**
 * @CopyRight  (C)2006-2011 OE Development team Inc.
 * @WebSite    www.phpcoo.com，www.oecms.cn
 * @Author     XiangFeng <phpzac@foxmail.com>
 * @Brief      OEcms v3.x
 * @Update     2011.09.07
**/
if(!defined('ALLOWGUEST')) {
	exit('Access Denied');
}
require_once CHENCY_ROOT.'./source/module/mod.url.php';
require_once CHENCY_ROOT.'./source/module/mod.rep.php';
require_once CHENCY_ROOT.'./source/module/mod.page.php';
require_once CHENCY_ROOT.'./source/module/mod.ads.php';
require_once CHENCY_ROOT.'./source/module/mod.delimit.php';
require_once CHENCY_ROOT.'./source/module/mod.info.php';
require_once CHENCY_ROOT.'./source/module/mod.case.php';
require_once CHENCY_ROOT.'./source/module/mod.down.php';
require_once CHENCY_ROOT.'./source/module/mod.product.php';
require_once CHENCY_ROOT.'./source/module/mod.solution.php';
require_once CHENCY_ROOT.'./source/module/mod.job.php';
require_once CHENCY_ROOT.'./source/module/mod.part.php';
require_once CHENCY_ROOT.'./source/module/mod.sendmail.php';

/* 初始化 */
Mod_Url::display_menurl();
Mod_Page::display();
Mod_Ads::display();
Mod_Delimit::display();

/* 系统默认函数标签 */
$tpl->assign("volist_onlinechat",Mod_Part::volist_onlinechat());
$tpl->assign("volist_fontlink",Mod_Part::volist_fontlink());
$tpl->assign("volist_logolink",Mod_Part::volist_logolink());
$tpl->assign("volist_page",Mod_Page::volist());
$tpl->assign("volist_newinfo",Mod_Info::volist());
$tpl->assign("volist_infocategory",Mod_Info::category());
$tpl->assign("volist_newcase",Mod_Case::volist());
$tpl->assign("volist_casecategory",Mod_Case::category());
$tpl->assign("volist_newdownload",Mod_Down::volist());
$tpl->assign("volist_downloadcategory",Mod_Down::category());
$tpl->assign("volist_newjob",Mod_Job::volist());
$tpl->assign("volist_jobcategory",Mod_Job::category());
$tpl->assign("volist_newsolution",Mod_Solution::volist());
$tpl->assign("volist_solutioncategory",Mod_Solution::category());
$tpl->assign("volist_solutiontreecategory",Mod_Solution::treecategory());

/*推荐产品*/
$tpl->assign("volist_eliteproduct",Mod_Product::volist(" and v.elite=1","",4));

/*推荐新闻*/
$tpl->assign("volist_eliteinfo",Mod_Info::volist(" and v.elite=1","",8));



$tpl->assign("volist_newproduct",Mod_Product::volist());
$tpl->assign("volist_productcategory",Mod_Product::category());
$tpl->assign("volist_producttreecategory",Mod_Product::treecategory());
?>